package com.gin.kotlin.no_gay_alliance.callback

interface RCallback<T, P> {
    fun onSuccess(data: T, ignoreCache: Boolean)

    fun onError(errorMessage: String)

    fun onFailed(ignoreCache: Boolean, params: P?) {}
}